﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace KongMing.ORM.SqlSugar
{
    public static class SqlSugarHelper
    {
        public static SqlSugarClient GetDB() => new SqlSugarClient(new ConnectionConfig()
        {
            ConfigId = 1,
            ConnectionString = "server=.;Database=KongMing.BusinessDB;Uid=km;Pwd=666;",
            DbType = DbType.SqlServer,
            IsAutoCloseConnection = true
        });
    }
}
